package com.evan.designpatterns.proxy.dbroute;

/**
 * @author :liujiapeng01
 * @date :2019-03-14 18:30
 **/
public class OrderServiceImpl implements IOrderService {

    private OrderDao orderDao;


    public OrderServiceImpl() {
        orderDao = new OrderDao();
    }

    @Override
    public int insertOrder(Order order) {
        return orderDao.insert(order);
    }
}
